package com.example.jbp.application.dtos;

import java.io.Serializable;

public abstract class EntityDto<PK extends Serializable> {
    private PK id;
    private long version;

    public PK getId() {
        return id;
    }

    public void setId(PK id) {
        this.id = id;
    }

    public long getVersion() {
        return version;
    }

    public void setVersion(long version) {
        this.version = version;
    }
}


